<style type="text/css">
span#label{width:20px;}
</style>
<form action="{% url 'material:update' material.name%}" method="post">
	{%csrf_token%}
	<span id="label">材料名称</span><input type="text" name="name" value="{{material.name}}"/><br/>
	<span id="label">密度</span><input type="text" name="density" value="{{material.density}}"/><br/>
	<span id="label">弹性模量</span><input type="text" name="yongs" value="{{material.yongs}}"/><br/>
	<span id="label">泊松比</span><input type="text" name="poisson" value="{{material.poisson}}"/><br/>
	说明<input type="text" name="description" value="{{material.description}}"/><br/>
	<input type = "submit" value="保存"/><br/>
</form>